package com.elinshaw.pattern.bus;

public interface Bus {

    void register(Object subscribe);

    void unRegister(Object subscribe);

    void post(Object event);

    void post(Object event, String topic);

    void close();

    String getBusName();

}
